package com.example.heimashop.model;

import com.google.gson.annotations.SerializedName;
import java.util.List;

/**
 * 商品列表响应类
 */
public class ProductListResponse extends BaseResponse<ProductListResponse.ProductListData> {

    public static class ProductListData {
        private int total;

        @SerializedName("pagenum")
        private int pageNum;

        private List<Product> goods;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public List<Product> getGoods() {
            return goods;
        }

        public void setGoods(List<Product> goods) {
            this.goods = goods;
        }
    }
}
